/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ticketmachine.logic;

import java.util.Date;

/**
 *
 * @author oiiv2253
 */
public class Promotion {

    int id;
    float discount;
    private String valid_from;
    private String valid_until;
    private String name;
    private String discountStrategyClass;


    public Promotion(int id, float discount, String validFrom,
			String validUntil, String name, String discountStrategyClass) {
		super();
		this.id = id;
		this.discount = discount;
		valid_from = validFrom;
		valid_until = validUntil;
		this.name = name;
		this.discountStrategyClass = discountStrategyClass;
	}

	public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getDiscount() {
        return discount;
    }

    public void setDiscount(float discount) {
        this.discount = discount;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getValid_from() {
        return valid_from;
    }

    public void setValid_from(String valid_from) {
        this.valid_from = valid_from;
    }

    public String getValid_until() {
        return valid_until;
    }

    public void setValid_until(String valid_until) {
        this.valid_until = valid_until;
    }

	public String getDiscountStrategyClass() {
		return discountStrategyClass;
	}

	public void setDiscountStrategyClass(String discountStrategyClass) {
		this.discountStrategyClass = discountStrategyClass;
	}
    
}
